package com.foreverwin.mes.production.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 清洁主数据明细表
 * </p>
 *
 * @author Max
 * @since 2020-02-17
 */
public class CleanDataItem extends Model<CleanDataItem> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 外键
     */
   @TableField("Z_CLEAN_DATA_BO")
   private String zCleanDataBo;
    /**
     * 清洁单元类型
     */
   @TableField("UNIT_TYPE")
   private String unitType;
    /**
     * 点检项目
     */
   @TableField("SPOT_INSP_ITEM")
   private String spotInspItem;
    /**
     * 清洁对象数量
     */
   @TableField("ITEM_NUM")
   private Integer itemNum;
    /**
     * 所需工作
     */
   @TableField("WORK_LIST")
   private String workList;
    /**
     * 点检标准
     */
   @TableField("SPOT_INSP_STANDARD")
   private String spotInspStandard;
    /**
     * 点检方式
     */
   @TableField("SPOT_INSP_METHOD")
   private String spotInspMethod;
    /**
     * 清洁工具
     */
   @TableField("CLEAN_TOOL")
   private String cleanTool;
    /**
     * 清洁时间
     */
   @TableField("CLEAN_TIEM")
   private Integer cleanTiem;
    /**
     * 创建者
     */
   @TableField("CREATOR")
   private String creator;
    /**
     * 更新者
     */
   @TableField("UPDATER")
   private String updater;
    /**
     * 创建时间
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新时间
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getzCleanDataBo() {
      return zCleanDataBo;
   }

   public void setzCleanDataBo(String zCleanDataBo) {
      this.zCleanDataBo = zCleanDataBo;
   }

   public String getUnitType() {
      return unitType;
   }

   public void setUnitType(String unitType) {
      this.unitType = unitType;
   }

   public String getSpotInspItem() {
      return spotInspItem;
   }

   public void setSpotInspItem(String spotInspItem) {
      this.spotInspItem = spotInspItem;
   }

   public Integer getItemNum() {
      return itemNum;
   }

   public void setItemNum(Integer itemNum) {
      this.itemNum = itemNum;
   }

   public String getWorkList() {
      return workList;
   }

   public void setWorkList(String workList) {
      this.workList = workList;
   }

   public String getSpotInspStandard() {
      return spotInspStandard;
   }

   public void setSpotInspStandard(String spotInspStandard) {
      this.spotInspStandard = spotInspStandard;
   }

   public String getSpotInspMethod() {
      return spotInspMethod;
   }

   public void setSpotInspMethod(String spotInspMethod) {
      this.spotInspMethod = spotInspMethod;
   }

   public String getCleanTool() {
      return cleanTool;
   }

   public void setCleanTool(String cleanTool) {
      this.cleanTool = cleanTool;
   }

   public Integer getCleanTiem() {
      return cleanTiem;
   }

   public void setCleanTiem(Integer cleanTiem) {
      this.cleanTiem = cleanTiem;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String Z_CLEAN_DATA_BO = "Z_CLEAN_DATA_BO";

   public static final String UNIT_TYPE = "UNIT_TYPE";

   public static final String SPOT_INSP_ITEM = "SPOT_INSP_ITEM";

   public static final String ITEM_NUM = "ITEM_NUM";

   public static final String WORK_LIST = "WORK_LIST";

   public static final String SPOT_INSP_STANDARD = "SPOT_INSP_STANDARD";

   public static final String SPOT_INSP_METHOD = "SPOT_INSP_METHOD";

   public static final String CLEAN_TOOL = "CLEAN_TOOL";

   public static final String CLEAN_TIEM = "CLEAN_TIEM";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "CleanDataItem{" +
         "handle = " + handle +
         ", zCleanDataBo = " + zCleanDataBo +
         ", unitType = " + unitType +
         ", spotInspItem = " + spotInspItem +
         ", itemNum = " + itemNum +
         ", workList = " + workList +
         ", spotInspStandard = " + spotInspStandard +
         ", spotInspMethod = " + spotInspMethod +
         ", cleanTool = " + cleanTool +
         ", cleanTiem = " + cleanTiem +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}